Monte Carlo simulation of an ion-dipole mixture as a model of an electrical double layer