Stability and performance analysis of diffusion learning for two-network competing problems