Development of boron doped diamond electrodes for heavy metal detection