Strategic Fertility and the Demographic Transition