Resilience-driven planning and operation of networked microgrids featuring decentralisation and flexibility