Gas adsorption in single-walled carbon nanotubes studied by NMR