Thermodynamic limits of dynamic cooling.