On the Mechanism of Methane Conversion in the Nonсatalytic Processes of Its Thermal Pyrolysis and Steam and Carbon Dioxide Reforming