Phase transformation of water under shock compression