losing weight to beat diabetes