Reaction pathways of glucose during esterification: effects of reaction parameters on the formation of humin type polymers.