Trajectories of physical function prior to death and brain neuropathology in a community-based cohort: the act study