Dynamic Behavior of Carbon Dioxide Gas Related to Formation and Diminution of Beer Foam