Soluble Ising model in2+1Ndimensions andXYmodel in1+1Ndimensions