Chemosensory behavior of semi-restrained Caenorhabditis elegans.