Thin film construction and characterization and gas-sensing performances of a tailored phenylene-thienylene copolymer.