Measuring the isentropic compression curves and W-J parameters of tantalum and molybdenum via a pressure-jump method