Unplanned hospitalisations in older people: illness trajectories in the last year of life