Oxidation of amorphous and crystalline silicon