Ultrasensitive on-chip immunoassays with a nanoparticle-assembled photonic crystal.