The optimal timing of teaching and learning across the life course.