Russia and the US agreed on Tuesday to start working towards ending the war in Ukraine and improving their diplomatic and economic ties, the two countries’ top diplomats said.