Simultaneous measurement of the moment of inertia and braking torque of electric motors applying additional inertia