Losses of pectic substances during cooking and the effect of water hardness