Insights into plasma-assisted polymerization at atmospheric pressure by spectroscopic diagnostics