Thermal analysis of coals using differential scanning calorimetry and thermogravimetry