Snapshots of Postsynthetic Modification in a Layered Metal-Organic Framework: Isometric Linker Exchange and Adaptive Linker Installation.