Influence of chemical structure and chain length on conducting properties of dielectric polymers in metal/polymer/metal structures