Electrochemistry of carbon electrodes