Electrical quantity transducer