The effect of oxygen on magnetic properties and corrosion resistance of Fe–N thin films