Simultaneous adjustment of the main chemical variables to fine-tune the porosity of carbon xerogels