Gender, migraine and affective disorders in the course of the life cycle