Measuring Sleep, Wakefulness, and Circadian Functions in Neurologic Disorders.