A ceasefire has come into force in southwest Syria after a deal was brokered by the US, Russia and Jordan.