Neuronal substrates of sleep and epilepsy