An investigation of dielectric barrier discharge in Ar and Ar/NH3 mixture using cross-correlation spectroscopy