Hydrogen storage capacity in single-walled carbon nanotubes