High-pressure approach to the synthesis of macrocyclic diamides