People who exercise or are exposed to cold experience a boost in hormones that increase metabolism and can avoid obesity, according to a new study.