The transient hyperfine field at Si, Pd and Pt ions traversing iron and nickel foils