Oxidation of silicon-containing layers