Thermal relaxation at interfaces following shock compression