Enhanced Ethanol and Biogas Production from Pinewood by NMMO Pretreatment and Detailed Biomass Analysis