Scattering Matrix Formulation of the Topological Index of Interacting Fermions in One-Dimensional Superconductors