Voltammetric and electrochemical impedance spectroscopy characterization of a cathodic and anodic pre-treated boron doped diamond electrode