World powers have agreed to take steps to scale back violence in Syria, after holding talks in Munich.