Sound velocities at high pressure and temperature and their geophysical implications