Characterization of single wall carbon nanotubes and activated carbon with water adsorption in finite-length pore models