Unified Mode-Based Description of Arbitrary Hybrid and Electric Powertrain Topologies