definition of hardness of water