In what ways did both nativists and the immigrants themselves contribute to any of their living and working conditions