Direct determination of the intramolecular O–D distance in ice Ih and Ic by neutron diffraction