DC bus capacitor discharge of permanent magnet synchronous machine drive systems for hybrid/electric vehicles