Phonon Thermodynamics and Elastic Behavior of GaN and GaAs at High Temperatures and Pressures