Emotion modulates cognitive flexibility in patients with major depression