Synthesis of chitosan films on optical fibers for detection of ammonia vapors