Guided Resonances in Photonic Crystal Slabs for Sensing Applications