Interferometric technique for the determination of thermal nonlinearities in semiconductor glasses