Trajectories of frailty, grip strength and gait speed preceding dementia: a nested case–control study | Synapse