Multifunction fiber optic sensing system for smart applications