the walls of the stomach and the small intestine have three layers of muscle tissue