Structural and spectroscopic correlations in cadmium(II) halide complexes of 2,2-dimetylpropane-1,3-diamine