Pd-catalyzed N-arylation of secondary acyclic amides: catalyst development, scope, and computational study.