Network models to assess credit risk contagion