The resilience of power systems in hospitals