Measurement of shock heating in laser-irradiated solids