Thermo-economic evaluation and optimization of the thermo-chemical conversion of biomass into methanol