Benefits of extra food to reproduction depend on maternal condition