Coarse-Grained Electrostatic Model Including Ion-Pairing Equilibrium That Explains DC and AC X-ray Photoelectron Spectroscopy Measurements on Ionic Liquids