Food businesses have signed up to a Swiss government initiative linked to the amount of sugar in yogurt and breakfast cereals.