The Effect of Retirement on Cognitive Functioning