Trajectories of nutritional status and cognitive impairment among older Taiwanese with hip fracture