Text this: Frailty trajectories to identify end of life: a longitudinal population-based study