Barriers to providing end-of-life care for people with dementia: a whole-system qualitative study