Mercury sublattice melting transition in the misfit intercalation compound H1.24TiS2