Ion chemistry in gaseous discharges at atmospheric pressure