Theory of order-disorder phase transitions of B-cations in AB'1/2B''1/2O3 perovskites.