US President Donald Trump has said he had a "lengthy and highly productive" phone call with Vladimir Putin on Wednesday in which the leaders agreed to begin negotiations to end the war in Ukraine.