Measurement of the inhibitory potential and detoxification of biomass pretreatment hydrolysate for ethanol production