Macroeconomic fluctuations and equilibrium discount factors