The effect of nitrogen addition during flame deposition of diamond as studied by solid-state techniques