The Effects of Lattice Anharmonicity on Phase Transitions and Thermal Conductivity Through Phonon Measurements in Energy Materials