Trump says he will speak to Putin about ending war in Ukraine