Spectroscopic and microscopic investigations of the thermal decomposition of nickel oxysalts