Surface-Functionalized Chemiresistive Films That Exploit H-Bonding, Cation-Pi, And Metal-Halide Interactions.