Bound states of water in gelatin discriminated by near-infrared spectroscopy