The accumulation and metabolism of glycinebetaine by barley in relation to water stress