US President Donald Trump decries anti-Semitic threats against Jewish community centers "horrible" and "painful," promising to work to bridge divisions in the country.