Catalytic direct arylation with aryl chlorides, bromides, and iodides: intramolecular studies leading to new intermolecular reactions.