Application of the many-body perturbation theory based on localized orbitals to cyclic polyenes