Electronic excitations and alternation of conjugated polymers