Resilient Distribution Systems With Community Microgrids