Phase Transitions and Thermodynamic Properties of Rubidium and Cesium Cyanides