Revised self-consistent continuum solvation in electronic-structure calculations.