Porous silicon-based rugate filters