Alkaline-earth phosphonate MOFs with reversible hydration-dependent fluorescence.