Fabrication of a diamond p-n junction diode using the chemical vapour deposition technique