Weight loss through surgery may cut diabetes risk