Differentiation of metallic and dielectric nanoparticles in solution by single-nanoparticle collision events at the nanoelectrode