detection of toxic substances