Metal-organic frameworks as sensory materials and imaging agents.