Thermal Shock Resistance of the RE-Oxide and Oxynitride Glasses