Michael Phelps recovered from freestyle relay by eating 'a pound of pasta'