Inhomogeneous-field stripper for field ionization detection and analysis of fast beams of highly excited atoms