Intellectual functioning in pediatric patients with epilepsy: a comparison of medically controlled, medically uncontrolled and surgically controlled children.