Nonreciprocal transmission in coupled nonlinear waveguides with loss and gain