Ion treatment of silicon in a glow discharge