Hydrogen peroxide oxidation of tertiary amines