Mildly-doped polythiophene with triflates for molecular recognition