Electrical properties of a B doped layer in diamond formed by hot B implantation and high-temperature annealing