Nitrogen Transformations in Coal during Pyrolysis