Electrochemical Charge Transfer to Diamond and Other Materials