Influence of molecular architecture on electronic and transport properties in sulfur-containing heterocyclic conducting polymers