Ab initio effective pair potentials for simulations of the liquid state, based on the polarizable continuum model of the solvent