Train passengers are being warned to plan their journey in advance as train services between Southampton and Portsmouth will not run for nine days.