Early-life environment and differences in costs of reproduction in a preindustrial human population