Diagnosing primary headaches in children