Effective conjugation length and UV/vis spectra of oligomers