Determination of the enthalpy of phase change materials by inverse method from calorimetric experiments. Applications to pure substances or binary solutions