what type of seizures causes short term memory loss?