Immigration, fertility and human capital: A model of the economic decline of the west