Excess mortality in a population with diabetes and the impact of material deprivation: longitudinal, population based study