Prevalence of retinopathy and associated risk factors among high- and low-risk patients with type 2 diabetes mellitus