Equation of state of water in the megabar range