which laws authorized the president to arrest and deport immigrants to criticize the federal government and limited the free speech of Americans?