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