Resilience, contagion, and vulnerability to external financial crisis in CEE countries