Text this: A review of optimal control techniques applied to the energy management and control of microgrids