Electroretinography and retinal microvascular changes in type 2 diabetes