Pulse width modulation for power converters