Adsorption and porosity properties of pure and modified carbon nanotube surfaces