The effects of duration of intractable epilepsy on memory function