The adaptive significance of glycinebetaine accumulation in water- or salt-stressed barley