Nitrogen chemical structure in petroleum asphaltene and coal by X-ray absorption spectroscopy