Intermodulation distortion of cascaded transistors