In situ doping of a-cBN layers