AC-calorimetry Studies at the Hexatic-B–smectic-A and Crystal-B–hexatic-B Phase Transitions in Two Compounds with Hydrogen Bonding