Highly structured porous solids from liquid foam templates