The rehabilitation of patients with dementia after hip fracture