A study of micropores in single-walled carbon nanotubes by the adsorption of gases and vapors