What is involved in endoscopic sphincterotomy for gallstones?