The neuroscience of adaptive thermoregulation