World powers have agreed on a "cessation of hostilities" in Syria that could serve as a bridge towards the resumption of genuine peace talks later this month.