Headache and cognitive profile in children: a cross-sectional controlled study