A theoretical model to determine intercalation entropy and enthalpy: Application to lithium/graphite