Genotype and diet affect resistance, survival, and fecundity but not fecundity tolerance