Effect of hydrophobicity of monomers on the structures and properties of 1,3:2,4-dibenzylidene-D-sorbitol organogels and polymers prepared by templating the gels.