In situ nucleophilic substitution reaction of N,N-dialkylaminoethyl-2-chlorides monitored by gas chromatography/mass spectrometry.