The unexpected effect of social status on reproduction: a case study in Joseon Korea from the nineteenth to the twentieth centuries