Generalization of the geometric optical series approach for nonadiabatic scattering problems