Production and mitigation of intermodulation products in the transmitter