Carboxylic acid amides having carbon atoms of carboxamide groups bound to carbon atoms of rings other than six-membered aromatic rings