Hydrogen Bonds and van der Waals Forces in Ice at Ambient and High Pressures