Gas generators for analytical applications