Endogenous Fertility, Technical Change and Growth in a Model of Overlappin Generations