Synthesis of functionalized quinolines via Ugi and Pd-catalyzed intramolecular arylation reactions