Design, fabrication and characterization of fiber optic sensors for physical and chemical applications