Knowledge and attitude change as predictors of metabolic improvement in diabetes education