Effect of APOE epsilon 4 allele on survival and fertility in an adverse environment