One dimensional photonic crystal for label-free and fluorescence sensing application