Functionalized Photonic Crystal Sensor Elements based on Nanoporous Polymers