Characteristics of Boron-Doped Diamond Electrodes Deposited on Titanium Substrate with TiNx Interlayer