Characterization of gases and solid residues from closed system pyrolysis of peat and coals at two heating rates