A collinear analytic model for atom–diatom chemical reactions