A comprehensive investigation of the behaviour of phenolic compounds in legumes during domestic cooking and in vitro digestion.