Studies of halogen bonding in solution: Thermodynamic data, substituent and solvent effects lead to anion recognition