A KAM theorem for space-multidimensional Hamiltonian PDEs