Electrochemical impedance spectroscopy of polycrystalline boron doped diamond layers with hydrogen and oxygen terminated surface