Relationship between digestibility and secondary structure of raw and thermally treated legume proteins: a Fourier transform infrared (FT-IR) spectroscopic study