Schiff base polymer based on triphenylamine moieties in the main chain. Characterization and studies in solar cells