Competition between Halogen, Hydrogen and Dihydrogen Bonding in Brominated Carboranes.