Petraeus Quits; Evidence of Affair Was Found by F.B.I.