Flexible palladium-catalysed amidation reactions for the synthesis of complex aryl amides