The United States has announced a travel ban on South African officials it claims are behind discrimination against white people and other minority groups.