Conformational preferences of γ-aminobutyric acid in the gas phase and in water