Model Predictive Control for Optimization of Combined Heat and Electric Power Microgrid