Carbon isotope discrimination of terrestrial ecosystems