Electrical conductivity of sol-gel derived metal nanoparticles