Impact of inbreeding on fertility in a pre-industrial population