Relation of work and retirement to health and well-being in older age