ATF6 polymorphisms and protective effect in diabetic retinopathy