Ab initio calculations of infrared transition rates in the ground states of BF and BF