Phase-Sensitive Detection for Optical Sensing With Porous Silicon