The neural control of sleep and waking