Petraeus said to be shocked by girlfriend's e-mails