Cognitive functioning in the affective disorders.