Effect of concentration of reactants on porosity of hydrogels, organic and carbon aerogels