An ab initio investigation of boron bonding