Study of the thermo-optic effect in hydrogenated amorphous silicon and hydrogenated amorphous silicon carbide between 300 and 500 K at 1.55 μm