Comparison of thermal breakdown in coal pyrolysis and liquefaction