Early cognitive impairment predicts long-term depressive symptoms and quality of life after stroke