Analysis of the risk and risk factors for injury in people with and without dementia: a 14-year, retrospective, matched cohort study