Association of diabetic retinopathy and renal function in patients with types 1 and 2 diabetes mellitus.