Photoluminescent supramolecular polymers: metal-ion directed polymerization of terpyridine-functionalized perylene bisimide dyes.