Characterization of heavily boron-doped diamond films