The impact of liberalisation on the resilience of electricity systems