Spatio-temporally resolved spectroscopic diagnostics of the barrier discharge in air at atmospheric pressure