Random pulse modulation with applications to power electronic converters