what is the purpose of the muscles that line the esophagus