Boron-based anion receptors in lithium-ion and metal-air batteries