Stability of the high-pressure phases of CaTiO 3 perovskite at finite temperatures