Magnetic properties of iron impurities in hexagonal close-packed transition metals