Manipulating Phase Transitions in Metal–Organic Materials for Thermal Applications