Halogen bonding in 1,2-dibromo-4,5-dimethoxybenzene and 1,2-diiodo-4,5-dimethoxybenzene.