Formation Mechanisms of the Molecular Ion Polar Plume and Its Contribution to Ion Escape From Mars