Capello to quit