Pressure transmitters for hydraulic systems