Preparation of amides and metal nanocluster catalysts for the process