Calorimetry of heterogeneous systems: H+ binding to TiO2 in NaCl