Glycemic exposure is associated with reduced pulmonary function in type 2 diabetes: the Fremantle Diabetes Study.