The role of surface films in corrosion and oxidation