Boron concentration and impurity-to-band activation energy in diamond