For what reasons did the immigration act of 1882 allow federal officials to reject some immigrants from entering the us