Correlation between infrared spectra and magnetic and optical properties of potassium chloranil. Effects of phase transition and solvation processes