Investigation of memory effect in atmospheric pressure dielectric barrier discharge in nitrogen with small oxygen or nitric oxide addition