Correlation between i.r. spectra and thermal decomposition of cobalt(II), nickel(II), copper(II) and mercury(II) complexes with piperidinedithiocarbamate and pyrrolidinedithiocarbamate