Structural changes in CVD diamond film by boron and nitrogen doping