Flexible Viologen-Based Porous Framework Showing X-ray Induced Photochromism with Single-Crystal-to-Single-Crystal Transformation.