Titanium environment in TiO_2–BaO–ZnO–B_2O_3 glasses by x-ray absorption spectroscopy