Effects of panretinal photocoagulation on macular structure and function in patients with proliferative diabetic retinopathy