X-ray snapshot observation of palladium-mediated aromatic bromination in a porous complex.