Three-dimensional porous metal-organic frameworks exhibiting metamagnetic behaviors: synthesis, structure, adsorption, and magnetic properties.