Modulation methods for converters used as static synchronous compensators