Electroencephalogram variations in pediatric migraines and tension-type headaches.