Thermal analysis of rare earth gallates and aluminates