Diffraction based biosensing with porous silicon