Nonreciprocal single-photon quantum router