Composite membranes for detecting toxic amines can prevent disasters in industries