Toward Understanding the Environmental Control of Hydrogel Film Properties: How Salt Modulates the Flexibility of Chitosan Chains