Treatment of corneal ulcers and opacities