Ionic and dipolar adsorption from an ion–dipole mixture. A model for the stern layer