Synthesis of silica gels with a controlled porous structure