The influence of cognitive reserve on seizure-induced injury