Tuning from pi,pi to charge-transfer excited states in styryl-substituted terthiophenes: an ultrafast and steady-state emission study.