Behavioral response of Caenorhabditis elegansto localized thermal stimuli