Risk factors for proliferative vitreoretinopathy after primary vitrectomy: a prospective study