Solvation at Surfaces and Interfaces: A Quantum-Mechanical/Continuum Approach Including Nonelectrostatic Contributions