Three modes of dissociation of H bonds in hydrogen-bond dominated solids