Effects of sleep apnea severity on glycemic control in patients with type 2 diabetes prior to continuous positive airway pressure treatment.