Bifurcations in a second-order difference equation from macroeconomics†