Chemical control for improving specificity and selectivity in the analysis of sulphur and nitrogen containing organic compounds and drugs