depression and memory loss