Stress, mood disorders and memory in headache