Power to methanol technologies via CO2 recovery: CO2 hydrogenation and electrocatalytic routes