Hospitalisation of people with dementia: evidence from English electronic health records from 2008 to 2016