Capello resigns as England manager