High-voltage inverters