The role of bioenergy production in the terrestrial carbon cycle and energy balance