Contagion Effects, Macroeconomic Conditions, and the Design of Regulatory Capital Standards