Carnot Cycle with Irreversible Heat Transfer