Rationally designed porous silicon as platform for optical biosensors