Effects of boron doping on the surface morphology and structural imperfections of diamond films