Electrochemistry of nanostructured carbon