name the stages in gastric function and describe there physiology.