Jacobi fields and linear connections for arbitrary second-order ODEs