Electrogastrography prior to and following total gastrectomy, subtotal gastrectomy, and gastric tube formation