Formation of the density currents in the zone of confluence of two rivers