Electrowetting and electrodeposition on graphitic surfaces