On the Reliability of Electrical Drives for Safety-Critical Applications