Dirichlet-Neumann learning algorithm for solving elliptic interface problems