Phase solitons in multi-band superconductors with and without time-reversal symmetry