Solid-oxide electrolyzer coupled biomass-to-methanol systems