A statistical approach to synthesis of functionally modified silica nanoparticles