Equation of state and phase diagram of water at ultrahigh pressures as in planetary interiors