A Model of Economic Growth and Long Cycles