Generalization of the Rosen-Zener model of noncrossing interactions. I. Total cross sections