Estimating Gastric Rhythm Differences Using a Wavelet Method from the Electrogastrograms of Normal and Diabetic Subjects