Structural phase transitions in C24Rb