When steam is passed over red hot carbon the substances produced are