Composition of fiber-optic sensors of physical and chemical quantities