Engineering an iridium-containing metal-organic molecular capsule for induced-fit geometrical conversion and dual catalysis.