'Surgery in a pill' a potential treatment for diabetes