In-furnace measurement of sulfur and nitrogen species in a recovery boiler