All-cause mortality in relation to glycated haemoglobin in individuals with newly diagnosed type 2 diabetes: a retrospective cohort study