Long-term effects of economic fluctuations on health and cognition in Europe and the United States