Exhumation of ultrahigh-pressure rocks: thermal boundary conditions and cooling history