Determination of sulfide and mercaptans in caustic scrubbing liquor