Estimating the gestational age of spontaneous abortions identified via database algorithms: a literature review and empirical analysis in Norwegian register data (bioRxiv (Cold Spring Harbor Laboratory))