When IS the best time to drink coffee? A new study offers some insight.