Competition and duality correspondence between inhomogeneous fermion-antifermion and fermion-fermion condensations in the NJL$_2$ model