Structural and photophysical properties of luminescent cyanometallates [M(diimine)(CN)4]2- and their supramolecular assemblies.