Differentiate a heat pump from a heat engine.