Mathematical Modeling of a Nickel‐Cadmium Battery: Effects of Intercalation and Oxygen Reactions