Text this: Recovering the Crooks equation for dynamical systems in the isothermal-isobaric ensemble