New organic foam can be used in soaps, say scientists