On X-ray photoelectron spectroscopy of alkaline-earth oxides