Impact of glycemic control on the association of endothelial dysfunction and coronary artery disease in patients with type 2 diabetes mellitus