Bidirectional regulation of halide binding in a heterometallic supramolecular cube.