Here’s a look at when — and how — you should eat, before, after or even during a workout.