What is the function of the esophagus in earthworms, and how does it contribute to the digestive process by connecting the mouth to the crop?