A thermodynamic approach for assessing agroecosystem sustainability. (August 2016)