Healthcare use and costs in the last year of life: a national population data linkage study