Functional properties of proteins: Possible relationships between structure and function in foams