Association between medication adherence and health-related quality of life of patients with diabetes