Epilepsy, cyclic alternating pattern and mechanisms of sleep regulation