Quantitative genetic variation in the control of ovarian apoptosis under different environments