In General Assembly speech, Trump criticizes UN over wars, migration and climate change