In the realm of chemical engineering, how does the concept of entropy relate to the design and optimization of chemical processes, particularly in terms of maximizing efficiency and minimizing waste generation?