Impact of adherence and weight loss on glycemic control in patients with type 2 diabetes: cohort analyses of integrated medical record, pharmacy claims, and patient-reported data.