Relationship between prior course of illness and neuropsychological functioning in patients with bipolar disorder.