Views about the impact of immigrants on U.S. workers have shifted significantly in the past decade