Redox-responsive photochromism and fluorescence modulation of two 3D metal-organic hybrids derived from a triamine-based polycarboxylate ligand.