Quantitative analysis and efficient surface modification of silica nanoparticles