Metal–Organic Frameworks with Extended Viologen Units: Metal-Dependent Photochromism, Photomodulable Fluorescence, and Sensing Properties