Stillbirth and neonatal death rates across time: the influence of pregnancy terminations and birth defects in a Western Australian population-based cohort study