Soft-switching techniques for pulse-width-modulated converters