Electrogastrography in diagnosis of functional dyspepsia