What factors determine whether a molecular collision produces a reaction?