Simple model of compound waveguide structures used as fiber-optic sensors