which laws authorized the president to arrest and deport immigrants who criticized the federal goverment and limited the free speech of Americans?