how does a pressure transducer work