Short-term efficacy of intravitreal bevacizumab for the treatment of macular edema due to diabetic retinopathy and retinal vein occlusion