Preparation and Thermal Square Planar–Octahedral Transformation of Nickel(II) Complexes Containing 1,2-Butanediamine or 3,3-Dimethyl-1,2-butanediamine in Solid Phase