The pulsed glow discharge as an elemental ion source