Thermal-safety margins and the necessity of thermoregulatory behavior across latitude and elevation