Four-wave mixing in traveling wave semiconductor amplifiers