Factors determining eligibility and access to subacute rehabilitation for elderly people with dementia and hip fracture