Laser cooling of BH and GaF: insights from an ab initio study.