Model of cooperative character of hydrogen bonds in water