Measurements of the thermal properties of rocks under extreme conditions