Metal-Organic Frameworks with Target-Specific Active Sites Switched by Photoresponsive Motifs: Efficient Adsorbents for Tailorable CO2 Capture.