Synthesis of an ionic N-nitrosamine and a method for its determination in foodstuffs