Towards a thermodynamic theory for ecological systems. (2004)