Solid-supported Zn(II) porphyrin tweezers as optical sensors for diamines.