Analysis and modeling of an optical fiber loop resonator and an evanescent field absorption sensor for the application for chemical detection