Control of modular multilevel converter for AC/AC conversion