Using light to covalently immobilize and pattern nanoparticles onto surfaces.