Polypharmacy patterns in the last year of life in patients with dementia