Total work and health in later life: a life course study