Unequal maternal investment in offspring quality in relation to predation risk