Pathways through which health influences early retirement