The hydrogen bond in ice probed by soft x-ray spectroscopy and density functional theory.