Dual Photo-/Electrochromic Pyromellitic Diimide-Based Coordination Polymer.