State-dependence of Cenozoic thermal extremes