Temperature dependence of the refractive index of AIAs and AIP