Researchers have discovered a new method to design stable foams. Their findings could make beer froth and ice cream last longer -- and revolutionize construction materials such as concrete.