Mechanical properties of heat-treated organic foams