Nature of optical transitions in conjugated oligomers. I. Theoretical characterization of neutral and doped oligo(phenylenevinylene)s