Risk Assessments of Cyberattacks To Different Control Architectures of Microgrids Using Real-Time Testbeds