Electronic structure of the alkaline-earth fluorides studied by photoelectron spectroscopy