Effect of Mg2+ and TiIV doping on the luminescence of Y2O2S:Eu3+