Hyperfine structure measurements by zero-field quantum beats after beam-foil excitation