Surface activity and functional properties of proteins