Combustion and gasification of individual coal particle during pyrolysis