Atomic and ionic core binding energies of selected levels in the alkaline earths from x-ray photoelectron spectroscopy and Dirac–Fock calculations