Neurobiology of epilepsy and associated cognitive disorders