S-shaped heat capacity in an odd–odd deformed nucleus