Infrared study of gelatin conformations in the gel and sol states