Development and parametrization of continuum solvent models. II. A unified approach to the solvation problem