Review of Modular Multilevel Converters Applied to High Voltage AC and DC Transmission Systems