Відправити по sms: Microcanonical thermodynamics in general physical theories