Soliton theory of two-dimensional lattices: The discrete nonlinear Schrödinger equation