Synthesis of B-doped diamond film