Pathways linking late-life depression to persistent cognitive impairment and dementia