What you eat and when you eat it matters. Here’s how you can time meals for better performance and sleep.