Enhanced thermoelectric properties of two-dimensional conjugated polymers