Endogenous Fertility, Externalities, and Efficiency in Old-Age Pension Systems