Quasi-periodic solutions of nonlinear Schrödinger equations of higher dimension