Effects of the length and timing of nighttime naps on task performance and physiological function.