Resveratrol prevents hyperglycemia-induced endothelial dysfunction via activation of adenosine monophosphate-activated protein kinase.