Linear and nonlinear optical properties of the thiophene/phenylene-based oligomer and polymer.