The role of obstetric factors in perinatal mortality trends