Trajectories of depression in different groups of retirees