Ion adsorption mechanism of bundled single-walled carbon nanotubes