Anatomical and functional changes after dexamethasone implant and ranibizumab in diabetic macular edema: a retrospective cohort study