NMR studies of thermochromic transitions in copper(II) and nickel(II) complexes with N,N-diethylethylenediamine