Observing the sleep-wake regulatory system to improve prediction of seizures