The distribution of hyperfine fields in iron and nickel