The use of direct care in nursing home residents: a longitudinal cohort study over three years