Optimization and Design of a High-Voltage Supply for Electrostatic Precipitators