CO2 capture by means of dolomite in hydrogen production from syn gas