Hydration of macromolecules, molecules, and ions