Weight loss can reverse type 2 diabetes, study suggests