Numerical Simulation of Shock Compression of Liquid and Vaporous Water for Determining Conditions of Diamond Synthesis from Graphite