Pathogenesis of epileptic seizures and epilepsy after stroke