Evaluation of the efficacy of education of patients in self-management of diabetes mellitus