Water-Stable Metal-Organic Frameworks with Selective Sensing on Fe3+ and Nitroaromatic Explosives, and Stimuli-Responsive Luminescence on Lanthanide Encapsulation.