Thermodynamic study of water sorption and water barrier properties of nanocomposite films based on brea gum