EEG abnormalities as a biomarker for cognitive comorbidities in pharmacoresistant epilepsy