Magnetic ordering in CuCl2.2H2O: I. Approximation of the wave function of unpaired electrons in insulators