Exergy in biological systems: a holistic approach to the study of ecosystems and environmental management