Metal ion-catalyzed peroxide oxidation of organic substrates. Selective synthesis of imides