Clinical inertia in people with type 2 diabetes: a retrospective cohort study of more than 80,000 people