Fluorogenic Zn(II) and chromogenic Fe(II) sensors based on terpyridine-substituted tetraphenylethenes with aggregation-induced emission characteristics.