Biomass as an Energy Source: Thermodynamic Constraints on the Performance of the Conversion Process