Polyfunctionalized Pyrrolidines by Ugi Multicomponent Reaction Followed by Palladium-Mediated SN2‘ Cyclizations