Brain injury raises epilepsy risk for years: study