Measurement of the refractive-index variations with temperature of hybrid sol–gel glasses