Effect of depression and diabetes mellitus on the risk for dementia: a national population-based cohort study.