Ecology of flowering and fruiting in Lotus corniculatus L.