Principles and application of velocimetry-based planar pressure imaging in compressible flows with shocks