Women with MS face a significantly higher risk of mental health problems during and after pregnancy than those without MS, a study finds.