Gas sensor using a robust approach under time multiplexing scheme with a twin laser chip for absorption and reference