Structural phase transitions of clinoatacamite and the dynamic Jahn–Teller effect