Townsend and glow modes in an atmospheric-pressure DBD using mass spectrometry