In Silico Study of the Influences of Cooling Rates on the Phase Transition of Water Inside the Carbon Nanotube under Different Ambient Pressures