Rational Functionalization of Carbon Nanotubes Leading to Electrochemical Devices with Striking Applications