Generalization of the post-collision interaction effect from gas-phase to solid-state systems demonstrated in thiophene and its polymers