Torque transducers for electric and hybrid powertrains