Flexible Modular Power Electronics for High-Power Medical and Energy Applications