Financial system instability: contagion, or common shocks?