Rainbow effect and dissociative processes in Na+-N2, Na+-CO and Na+-CO2 collisions