Centralized Model Predictive Control for Transient Frequency Control in Islanded Inverter-Based Microgrids