A theoretical treatment of the kinetics of iron dissolution and passivation