Design of porous silica from hybrid organic–inorganic precursors