legumes vs nuts