Role of non-hydrogen-bonded molecules in the oxygen K-edge spectrum of ice.