A molecular dynamics study of hydration and dissolution of NaCl nanocrystal in liquid water