A gas ion source for continuous-flow AMS