Theoretical study of water clusters. II. Hexamer