Diagnosing and managing headache in children