Immunosensing using nanoparticles