A quantitative review of cognitive deficits in depression and Alzheimer-type dementia