Different metal–ligand ratios regulated two Cd(II)-containing viologen-derived photochromic coordination polymers. (April 2022)