X-ray photoelectron spectroscopy and heterogeneous catalysis, with elimination reactions as an example