The role of noncrystalline films in the oxidation and corrosion of metals