The role of ability, motivation, and opportunity to work in the transition from work to early retirement