Precise assay of TATB by the determination of total amino and nitro functional groups