Measuring the pressure in ultrahigh-pressure mercury arcs