The effect of seizure type and medication on cognitive and behavioral functioning in children with idiopathic epilepsy