Magnetic and electrical characterization of heavily boron-doped diamond