A selective harmonic elimination method for five-level converters for distributed generation