Cross modulation of two lasers in a semiconductor