Comparison of Boltzmann and Gibbs entropies for the analysis of single-chain phase transitions