these laws were intended to counter what the federalists perceived as a growing threat to the peace and safety of the united states