does epileptic seziures affect cogntive abilites?