Equation of state of water based on speeds of sound measured in the diamond-anvil cell