Diet and exercise are both factors that can influence how long you live, but they're not the single greatest predictor of your longevity, research suggests.