Role of optimization techniques in microgrid energy management systems—a review