Oxidation of 1,2-bis(hydroxylamines)