Accuracy of death certification of dementia in population-based samples of older people: analysis over time