Repulsive regularities of water structure in ices and crystalline hydrates