Doping of conjugated polymer thin films for optoelectronic sensor and tunable plasmonic applications