The function of the pericarp in fruits of crop legumes