Here’s how to sync your sleep and nutrition to your training intensity for better gains and fewer injuries.