The relationship between cognitive and social functioning in older patients with bipolar disorder.