Conversion of dc power input into dc power output with intermediate conversion into ac by dynamic converters using mechanical parts to select progressively or to vary continuously the input potential