Pretreatment optimization methods for increased sugar yields from biomass pyrolysis