Diabetes treatment intensification and associated changes in HbA1c and body mass index: a cohort study