Effect of the parasitic resistances on the voltage gain in a dc-dc modular system