Pressure transmitters with hazardous location ratings