How swimming helped give Michael Phelps an edge on the golf course