On the phase-shift formula for the scattering operator