Endogenous fluctuations in a two-sector overlapping generations economy