Analysis of the impact of maternal sepsis on pregnancy outcomes: a population-based retrospective study