Equations of state for solids at high pressures and temperatures from shock-wave data