Redox equilibrium and NIR luminescence of Bi2O3-containing glasses