Taking advantage of optical and electrical properties of organic molecules for gas sensing applications