detecting pharmaceutical residues