Bet-hedging as an evolutionary game: the trade-off between egg size and number