Electrochemical behaviour of modified activated carbons in aqueous and nonaqueous solutions