Influence of some transition metal cations on the properties of BaO-containing glasses and glass-ceramics