The role of bariatric surgery in the treatment of diabetes