Investigation into the Effect of Temperature on Nitrogen Foam Behavior