Irreversibility in Macroscopic Physics: From Carnot Cycle to Dissipative Structures