Compounds containing at least one halogen atom bound to a ring other than a six-membered aromatic ring