Effect of dehydrogenation on the pyrolysis of two coals