Cognitive reserve as a protective factor moderating the effect of depressive mood on memory impairment