Interferometric measurement of the refractive index and the thermo-optic coefficient of semiconductor-doped glasses