A meeting between Russian and US officials on a partial ceasefire in Ukraine ended after 12 hours of negotiations in Saudi Arabia, Russian state media said.