Fuels and chemicals from biomass