Electrical activity and behavior in the pharynx of caenorhabditis elegans