Mean spherical model for hard ions and dipoles: Thermodynamics and correlation functions