Electric field gradient on Fe, Sc and Os impurities in hexagonal transition metals