Analysis of the International Classification of Headache Disorders for diagnosis of migraine and tension-type headache in children