Evolution of perinatal outcomes and sociodemographic variables in Chile (1996–2017)