A 5-level RF-PWM method with third and fifth harmonic elimination for all-digital transmitters