Label-free and fluorescence biosensing platform using one dimensional photonic crystal chips