Thermal and optical properties of binary magnesium tellurite glasses and their link to the glass structure