Organic reactions in ionic liquids studied by in situ XPS.