Neuromorphic computing with percolating networks of nanoparticles.