Compressibility of rocks and glasses at high temperatures and pressures: seismological application