A study of mercuric iodide near melting using differential scanning calorimetry, Raman spectroscopy and X-ray diffraction