Functional and nutritional properties of peanut and cowpea proteins