Cognitive impairment in patients with severe migraine