Text this: Trajectories of cognitive function and frailty in older adults in China: a longitudinal study