Noncovalent interactions in halogenated ionic liquids: theoretical study and crystallographic implications.