Molecular design and modification for polymeric semiconductors