US President Donald Trump has said "acts or threats of political violence have no place in the United States" after suspicious packages were sent to Democrats and the media.