Influence of a Non-Stationary Magnetic Field on the Charge Composition and Energy Distribution of Ions of the Cathode Plasma of a Vacuum Arc