A system for the high-throughput analysis of acute thermal avoidance and adaptation in C. elegans