Speciation of heteroatoms in coal by sulfur- and nitrogen-selective techniques