Two-wire transmitter