High-temperature structural phase transitions in perovskite