Laser-written nanoporous silicon diffraction gratings for biosensors.