Sleep Quality and Associated Factors in Adults with Type 2 Diabetes: A Retrospective Cohort Study