Numerical simulation of coadsorption of ionic surfactants with inorganic ions on quartz