Specific heat of spin ladder lanthanide and transition-metal-based molecular magnets