Dependence of the excitation energies of boron in diamond on isotopic mass