Depression as a risk factor for cognitive impairment in later life: the Health In Men cohort study