Miniature ion sources for analytical instruments