Determination of relative electron inelastic mean free paths (escape depths) and photoionisation cross-sections by X-ray photoelectron spectroscopy