The effects of curvature and surface heterogeneity on the adsorption of water in finite length carbon nanopores: a computer simulation study