Study: Weight-loss surgery has benefits for the next generation