Integrated photometer with porous silicon interference filters