The ecological genetics of senescence and stress resistance in Caenorhabditis elegans