Structure and thermodynamics of a two-dimensional model of electrolyte solutions