Selective aromatic chlorination and bromination with N-halo amines in acidic solution