Electrochemical behavior of metallic and semiconducting single-wall carbon nanotubes for electric double-layer capacitor