How a transition-to-retirement pension works