The interplay between ovule number, pollination and resources as determinants of seed set in a modular plant