In situ X‐ray photoelectron spectroscopy of surfaces at pressures up to 1 mbar