Exploring the effect of surface chemistry in carbon nanopores on melting behavior of water