Crystallography and Phase Transitions in a Modulated Lanthanide Metal-organic Framework