Formal and informal care for people with dementia: variations in costs over time