Digital pulse width modulation techniques for power converters