Unveiling the role of work characteristics before retirement in cognitive functions among retirees: evidence from Taiwan’s Health and Retirement Study | Synapse