Because flamingos spend most of their time in water, heat is easily lost through their legs and feet. Scientific studies have suggested that flamingos often stand on one leg while resting, keeping the other leg close to the body. Which factor does this behavior regulate?