Oxidation of polyoxymethylenes