Prolonged convulsive seizures in childhood could be linked to the development of other brain conditions, a study suggests.