Some aspects of hydrogen bonding in the phases of water